


module.exports = {
    //  端口启动
    port: 9005,
    //  redis连接配置
    redis: {
        token: {
            url: 'redis://localhost:6379',
            db: 0,
        },
        data: {
            url: 'redis://localhost:6379',
            db: 1,
        },
        abnormal: {
            url: 'redis://localhost:6379',
            db: 2,
        },
        analyst: {
            url: 'redis://localhost:6379',
            db: 3,
        },
        cache: {
            url: 'redis://localhost:6379',
            db: 4,
        },
//    alarm: {
//      url: 'redis://localhost:6379',
//      db: 5,
//    },
        chengjiao: {
            url: 'redis://localhost:6379',
            db: 6,
        },

        remind: {
            url: 'redis://localhost:6379',
            db: 8,
        },
        checkin: {
            url: 'redis://localhost:6379',
            db: 9,
        },
    },
    //  mongo连接配置
    mongodb: {
        mongo: {
            uri: `mongodb://120.26.65.228:27017/gpws-dev`,
            opts: {},
        },
        crawlMongo: {
            uri : `mongodb://localhost:27017/crawls`,
        },
        bigMongo: {
            uri : `mongodb://localhost:27017/negative`,
        },
        infoMongo: {
            uri: `mongodb://localhost:27017/info`,
        },
        abnormalMongo: {
            uri: `mongodb://localhost:27017/abnormal`,
        },
        bigRes: {
            uri : `mongodb://127.0.0.1:27017/bigRes`,
        },
        yunshijie: {
            uri : `mongodb://127.0.0.1:27017/yunshijie`,
        }
    }
};